import { NgModule } from '@angular/core'
import { SharedModule } from '@shared'
import { ReportRoutingModule } from './report-routing.module'
import { ReportSettingComponent } from './setting/setting.component'
import { ReportConfigComponent } from './config/config.component'
import { ReportReleasesComponent } from './releases/releases.component'
import { ReportDownloadComponent } from './download/download.component'
import { ReportService } from './report.abstract.service'
import { ReportAlinterService } from './report-alinter.service'

const COMPONENTS = [ReportSettingComponent, ReportReleasesComponent, ReportConfigComponent, ReportDownloadComponent]
const COMPONENTS_NOROUNT = []

@NgModule({
  imports: [SharedModule, ReportRoutingModule],
  declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT],
  entryComponents: COMPONENTS_NOROUNT,
  providers: [
    { provide: ReportService, useClass: ReportAlinterService },
  ]
})
export class ReportModule {}
